November 07, 2023

Understanding Gas Mileage

Using the mtcars dataset we plotted, we can try to understand the relationship of factors to fuel consumption (mpg).

The weight (wt) versus the mileage (mpg) along the x/y axes. The number of cylinders (cyl) as colors and the amount of power (hp) as the size of an individual point on the graph.

Visualizing the MTCar Data: